package com.xx.executor.mapper;

import com.xx.common.pojo.XxlJobInfo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;


@Mapper
public interface XxlJobInfoDao {


    public int save(XxlJobInfo info);

    public XxlJobInfo loadById(@Param("id") int id);

    public XxlJobInfo loadByExecutorHandler(@Param("executorHandler") String executorHandler);

    public int update(XxlJobInfo xxlJobInfo);

    public int delete(@Param("executorHandler") String executorHandler);

}
